const Layout = () => import("@/layout/index.vue");

export default {
  path: "/collaborativeOffice",
  name: "collaborativeOffice",
  component: Layout,
  redirect: "/collaborativeOffice",
  meta: {
    icon: "homeFilled",
    title: "协同办公",
    rank: 1
  },
  children: [
    // {
    //   path: "/toDo",
    //   name: "toDo",
    //   component: () => import("@/views/collaborativeOffice/toDo.vue"),
    //   meta: {
    //     title: "待办事项"
    //   }
    // },
    {
      path: "/completedItems",
      name: "completedItems",
      component: () => import("@/views/collaborativeOffice/completedItems.vue"),
      meta: {
        title: "已办事项"
      }
    },

    {
      path: "/mydocuments",
      name: "mydocuments",
      component: () => import("@/views/collaborativeOffice/mydocuments.vue"),
      meta: {
        title: "我的单据"
      }
    },
    {
      path: "/applydocuments",
      name: "applydocuments",
      component: () => import("@/views/collaborativeOffice/applydocuments.vue"),
      meta: {
        title: "单据申请"
      }
    },
    {
      path: "/flowdes",
      name: "flowdes",
      component: () => import("@/views/collaborativeOffice/flowdes.vue"),
      meta: {
        title: "流程设计"
      }
    },
    {
      path: "/createflow",
      name: "createflow",
      component: () => import("@/views/collaborativeOffice/createflow.vue"),
      meta: {
        title: "新建事项"
      }
    },
    {
      path: "/myCollection",
      name: "myCollection",
      component: () => import("@/views/collaborativeOffice/myCollection.vue"),
      meta: {
        title: "我的收藏"
      }
    },
    {
      path: "/taskList",
      name: "taskList",
      component: () => import("@/views/collaborativeOffice/taskList.vue"),
      meta: {
        title: "交办列表"
      }
    },
    {
      path: "/agencyDocuments",
      name: "agencyDocuments",
      component: () =>
        import("@/views/collaborativeOffice/agencyDocuments.vue"),
      meta: {
        title: "代理单据查询"
      }
    }
  ]
} as RouteConfigsTable;
